Skip to content

ci(release-drafter): disable automatic triggers#2181

Merged
gounthar merged 2 commits into
jenkins-docs:mainfrom
gounthar:ci/silence-release-drafter
Apr 21, 2026
Merged

ci(release-drafter): disable automatic triggers#2181
gounthar merged 2 commits into
jenkins-docs:mainfrom
gounthar:ci/silence-release-drafter

Conversation

@gounthar

Copy link
Copy Markdown
Collaborator

Summary

The Release Drafter workflow fires on every push to main and on every PR open/sync event. Because the repo has no releases, it always fails with a known bug in release-drafter@v7:

Data doesn't contain nodes field. Make sure the paginatePath is set to the field you wish to paginate and that the query includes the nodes field.

Change

Replace the push and pull_request triggers with workflow_dispatch only. The workflow and its config are preserved so it can be triggered manually if a release is ever cut, but it will no longer spam failed runs on every PR.

The action fails on every push and PR event because the repo has no
releases, triggering a known pagination bug in release-drafter@v7
("Data doesn't contain nodes field"). Since no releases are planned,
replace all automatic triggers with workflow_dispatch so it can still
be invoked manually if ever needed.

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
@github-actions github-actions Bot added the repo label Apr 21, 2026
@gounthar gounthar merged commit a9d8286 into jenkins-docs:main Apr 21, 2026
5 checks passed
@gounthar gounthar deleted the ci/silence-release-drafter branch April 21, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant